package com.vogue.supplymall.order.domain.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单项目：订单项目的基本信息
 * The type Order item.
 */
@Entity
@Table(name = "order_item")
public class OrderItem extends TendBaseEntity implements Serializable{

	private static final long serialVersionUID = -2484838854019735091L;
	/**
     * orderid
     */
    private Long orderid;
    /**
     * 项目价格
     */
    private BigDecimal itemprice;
    /**
     * 商品数量
     */
    private Integer itemquantity;
    /**
     * 仓库id
     */
    private Long storageId;
    /**
     * 仓库
     */
    private String storage;
    /**
     * 对应的供应链系统中的organid
     */
    private String matchid;
    /**
     * 禁用标志
     */
    private Boolean disabledflag = false;
    /**
     * 发货数量
     */
    private BigDecimal sendcount;
    /**
     * 发货金额
     */
    private BigDecimal sendmoney;
    /**
     * 差异数量
     */
    private BigDecimal diffcount;
    /**
     * 差异金额
     */
    private BigDecimal diffmoney;

    public BigDecimal getSendcount() {
        return sendcount;
    }

    public void setSendcount(BigDecimal sendcount) {
        this.sendcount = sendcount;
    }

    public BigDecimal getSendmoney() {
        return sendmoney;
    }

    public void setSendmoney(BigDecimal sendmoney) {
        this.sendmoney = sendmoney;
    }

    public BigDecimal getDiffcount() {
        return diffcount;
    }

    public void setDiffcount(BigDecimal diffcount) {
        this.diffcount = diffcount;
    }

    public BigDecimal getDiffmoney() {
        return diffmoney;
    }

    public void setDiffmoney(BigDecimal diffmoney) {
        this.diffmoney = diffmoney;
    }

    public String getMatchid() {
        return matchid;
    }

    public void setMatchid(String matchid) {
        this.matchid = matchid;
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public BigDecimal getItemprice() {
        return itemprice;
    }

    public void setItemprice(BigDecimal itemprice) {
        this.itemprice = itemprice;
    }

    public Integer getItemquantity() {
        return itemquantity;
    }

    public void setItemquantity(Integer itemquantity) {
        this.itemquantity = itemquantity;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public Long getStorageId() {
        return storageId;
    }

    public void setStorageId(Long storageId) {
        this.storageId = storageId;
    }

    public Boolean getDisabledflag() {
        return disabledflag;
    }

    public void setDisabledflag(Boolean disabledflag) {
        this.disabledflag = disabledflag;
    }
}